<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-apply_code" data-rule="required" class="form-control" name="row[apply_code]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Total_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-total_score" class="form-control" step="0.01" name="row[total_score]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_score')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_score" class="form-control" step="0.01" name="row[add_score]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goodssales_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goodssales_id" data-rule="required" min="0" data-source="goodssales/index" class="form-control selectpage" name="row[goodssales_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goodssales_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goodssales_code" data-rule="required" class="form-control" name="row[goodssales_code]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_data')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <dl class="fieldlist" data-name="row[apply_data]">
                <dd>
                    <ins>{:__('Key')}</ins>
                    <ins>{:__('Value')}</ins>
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
                <textarea name="row[apply_data]" class="form-control hide" cols="30" rows="5"></textarea>
            </dl>


        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pay_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pay_status" data-rule="required" class="form-control" name="row[pay_status]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_status" data-rule="required" class="form-control" name="row[check_status]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_flow_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_flow_id" data-rule="required" data-source="check/flow/index" class="form-control selectpage" name="row[check_flow_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_step_sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_step_sort" data-rule="required" class="form-control" name="row[check_step_sort]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_uids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_uids" data-rule="required" class="form-control" name="row[check_uids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_last_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_last_uid" data-rule="required" class="form-control" name="row[check_last_uid]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_history_uids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_history_uids" data-rule="required" class="form-control" name="row[check_history_uids]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_time" data-rule="required" min="0" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[check_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Check_remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-check_remark" data-rule="required" class="form-control" name="row[check_remark]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
